@Repository
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th=
        "http://www.thymeleaf.org" lang="en">
<head th:replace="fragments/header :: head">
</head>
<body>
<div class="container">
    <h3 class="text-center">请确认您的订单信息</h3>
    <table class="table table-bordered table-striped ">
        <thead>
        <tr>
            <th>图书名称</th>
            <th>图书数量</th>
            <th>图书价格</th>
        </tr>
        </thead>
        <tbody>
        <tr th:if="${#lists.isEmpty(order.books)}">
            <td colspan="2" class="text-center">您的订单为空
            </td>
        </tr>
        <tr th:each="orderBook : ${order.books}">
            <td>[[${orderBook.book.bookName}]]</td>
            <td>[[${orderBook.quantity}]]</td>
            <td>[[${orderBook.book.bookPrice}]] 元 </td>
        </tr>
        </tbody>
        <tfoot>
        <tr>
            <td colspan="2" class="text-right">合计:</td>
            <td th:unless="${#lists.isEmpty(order.books)}" class=
                    "text-left">
                [[${order.orderPrice}]] 元
            </td>
        </tr>
        </tfoot>
    </table>
    <h3 class="text-center">请确认您的配送信息</h3>
    <table class="table table-bordered">
        <thead>
        <tr>
            <th>用户全名</th>
            <th>联系方式</th>
            <th>配送地址</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <td>[[${user.userFullname}]]</td>
            <td>[[${user.userPhone}]]</td>
            <td>[[${user.userAddress}]]</td>
        </tr>
    </table>
    <div class="col-12 text-right">
        <a class="btn btn-success" th:href="@{/confirmOrder}"> 订单结算
        </a>
    </div>
</div>
</body>
</html>